
import java.util.Scanner;

public class D04 {

	public static void main(String[] args) {
		int[] ary = new int[7];
		for(int i=0; i<7; i++){
			if (i==4) {
			System.out.print(" ");	
				
			}
			ary[i] = (int) (Math.random()*9);
		System.out.print(ary[i]);
		}
		
		}
	
		
		
		
		
		
		
	
}
